package com.luobd.bpm.config.listener;

import lombok.extern.slf4j.Slf4j;
import org.activiti.engine.delegate.event.ActivitiEvent;
import org.activiti.engine.delegate.event.ActivitiEventListener;


@Slf4j
public class MyActivitiEnvenListener implements ActivitiEventListener {
    @Override
    public void onEvent(ActivitiEvent event) {
       // log.info("捕获到activiti事件: {},事件来源流程实例:{}",event.getType().name(),event.getProcessInstanceId());
    }

    @Override
    public boolean isFailOnException() {
        return false;
    }


}
